Skip to main content

All Questions

0votes
1answer
40views

Dropdown button works every other time with modal popup window using ajax

I recorded a short video of my problem. When the modal window is opened and closed, the dropdown button isn't working, but when I open and close the modal window again, it works as expected. How to ...
2033's user avatar
0votes
0answers
28views

I can't get a "Loading..." option appear for my search box suggestion list, but the final results display properly

I have a web form that I am creating that, among other things, has fields that relate to a database elsewhere. When a user types in these fields, after debouncing, the search is conducted with an API ...
Inglonias's user avatar
1vote
1answer
71views

Javascript fetch not retuning response body in asp net core application

I'm having a problem getting the response body of a local api. The api runs fine(it is a asp net web api), i tested in swagger and debugged the code to see if she was not returning the correct body, ...
José Luiz Ihlenfeldt Maia's user avatar
0votes
1answer
47views

ASP .NET MVC: How to create a Javascript file that contains the functions?

If I understand correctly, I should be creating a Scripts folder in my Solutions Explorer folder, and then adding a javascript file that contains my program. Then as I require my javascript file in a ...
NewCoder1423's user avatar
0votes
1answer
38views

Kendo MVC Chart Not Sorting Categories Correctly and `dataBound` Event Not Firing

I'm working on a .NET MVC 5 project and using Kendo MVC Charts to display data on my dashboard. I'm facing two issues: Sorting Issue: The chart is not displaying data in correct order on the x-axis, ...
heartbeat's user avatar
-1votes
1answer
54views

Get Session Model from webpage using jquery [closed]

I am doing an MVC 6 App. I have a model like this public class SearchModel { public string SSN { get; set; } = string.Empty; public string EmployeeNumber { get; set; } = string.Empty; ...
Diego's user avatar
  • 2,378
2votes
1answer
57views

VS 2022 ASP.Net Core MVC Simple Bootstrap Menu Not Working

I have a simple ASP.Net Core 8 site created in VS 2022. I have installed Bootstrap 5.3.3, jQuery 3.7.1 using libman and copied the simplest Menu sample from GetBootstrap. When the screen width is ...
Dec's user avatar
  • 37
-1votes
1answer
45views

MVC js function value returned in view how to pass to controller?

I've been given some 3rd party examples of dialog re-usage and I'm wanting to look at using some elements to pull values end users have selected, examples given have a JS function handling the ...
IchBinDicky's user avatar
1vote
0answers
76views

How to allow to select only 1.5 hour duration in fullcalendar

Fullcalender has 15 minute slots: javascript: document.addEventListener('DOMContentLoaded', function() { const calOpts = { locale: 'ee', slotDuration: '00:15:00', slotLabelInterval: '00:15', ...
Andrus's user avatar
0votes
1answer
69views

Convert fullcalender select event start datetime to C#

https://fullcalendar.io/ select event saves start time using code from answer How to pass tstzrange to postgres javascript: document.addEventListener('DOMContentLoaded', function() { const calOpts = { ...
Andrus's user avatar
0votes
0answers
20views

Input type file - filelist, is always empty in partial view that is inside a partial view

I was able to get the filelist when the element was in the view > partialview1. But i had to change the interface a little bit so, it got moved to, View > partialview1 > partialview2. After ...
mis.gg6144's user avatar
0votes
1answer
76views

How can I use the value of ViewData in my script?

In my PageModel, I am setting the value of ViewData before returning to the view. When I debug, I see that the ViewData has the expected value, \Testing\Development\Accounting\statements.png // ....
dev_in_training's user avatar
-1votes
1answer
66views

How do I pass my html element to Javascript?

I have a TextArea and a <span> in my ASP.NET MVC code: <div> @Html.TextAreaFor(m => m.Note, 4, 20, new { id = "Note", name = "textareaNote", ...
jp2code's user avatar
0votes
0answers
48views

Data Tables Refresh on Edit / Update

In my project, I have been using Data tables to show the list of data from the database per required view. So in the view, I have this code <div class="table-responsive mt-4" style="...
Dev Beginner 's user avatar
0votes
0answers
26views

MVC catch event when browser back button is clicked

I am doing an MVC 6 Application. I have a primary Menu in _layout Page. Every Manu has a Landing page, and I can navigate throughthat pages. I use a function to detect the browser's Back button and I ...
Diego's user avatar
  • 2,378

153050per page
close